package com.niuwa.p2p.service.role;

import com.niuwa.p2p.core.mvc.entity.JsonResult;
import com.niuwa.p2p.entity.role.RoleResource;

public interface RoleResourceService {
	/**
	 * 绑定角色、资源关系
	 * @param roleResource
	 * @return
	 */
	public JsonResult saveRoleResource(RoleResource roleResource);
	
	/**
	 * 解绑角色、资源关系	
	 * @param role
	 * @return
	 */
	public JsonResult deleteRoleResource(String[] roleIdArry) ;
}
